package com.wx.spring.annotations;

import com.wx.spring.constant.RequestMethod;

import java.lang.annotation.*;

/**
 * @ClassName MyRequestMapping
 * @Author wx
 * @Description spring mvc路径注解
 * @Date 2019-01-30-18:08
 */
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyRequestMapping {

    String value() default "";

    RequestMethod[] method() default {};
}
